/*
 * OpenProcessor.java	2008/11/13
 *
 * Copyright 2008 Web & Zen Multimedia, All rights reserved.
 * Use is subject to license terms.
 */
package it.wzm.lightweightlog.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

/**
 * Annotation for all dump opening/closing operations 
 * @author Leonardo Celati
 */
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) 
@Target( ElementType.TYPE)
@Inherited
public @interface OpeningProcessor {
	/**
	 * Global switch	 
	 */
	public boolean active() default true;	
	/**
	 * Keep alive is activated by default
	 * @return true/false
	 */
	public boolean keepingalive() default true;
	/**
	 * Kill behaviour
	 */
	public boolean killing() default true;
}
